package com.boot.hospital.score.dao.mapper;


import com.boot.hospital.score.dao.entity.Expert;
import com.boot.hospital.score.dao.entity.Review;

import java.util.List;
import java.util.Map;

public interface ReviewMapper {

    List<Review> selectAll();

    int insert(Review review);

    int deleteReviewsByIds(List<Integer> reviewIds);

    int updateReview(Review review);
    List<Review> selectByPageAndSearch(Map<String, Object> params);

    List<Review> selectBySearch(String search);

    Review selectById(Integer reviewId);
}